import Service from './$axios'
import { appName } from '../config';
// const appName = ''


// 总装异常报告表分页查询
export const findAbnormalAll = (data) => {
    return Service({
        url: `${appName}/billApi/findAbnormalAll`,
        method: 'post',
        data: data
    })
}

// 总装异常报告表-新增
export const addAbnormal = (data) => {
    return Service({
        url: `${appName}/billApi/addAbnormal`,
        method: 'post',
        data: data
    })
}

// 总装异常报告表-根据批号查批号详细
export const findAbnormalBatchNo = (data) => {
    return Service({
        url: `${appName}/billApi/findAbnormalBatchNo?batchNo=${data}`,
        method: 'get',
    })
}

// 总装异常报告表-发起钉钉
export const abnormalApplyNail = (data) => {
    return Service({
        url: `${appName}/billApi/abnormalApplyNail?${data}`,
        method: 'get',
    })
}